package main

import (
	"fmt"
)

func main() {
	i := 55      //int
	j := 67.8    //float64
	//sum := i + j //不允许 int + float64
	sum := i + int(j)
	fmt.Println(sum)

	i1 := 10
	var j1 float64 = float64(i1) // 若没有显式转换，该语句会报错
	fmt.Println("j1", j1)
}
